@import './ant_change.scss';

:root {}

* {
    padding: 0;
    margin: 0;
    list-style: none;
    outline-style: none;
}

html,
body {
    overflow: hidden;
}

img {
    object-fit: cover;
}



/* 内层轨道 */
::-webkit-scrollbar {
    width: 10px;
}

/* 滑块 */
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* 外层轨道 */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background: #fafafa;
}


a {
    background: linear-gradient(90deg, #ff3c41, #fc0, #0ebeff);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 3px;
    transition: 0.5s;
    padding-bottom: 5px;
    color:#5864FF;
    text-decoration: none;
}

a:hover {
    background-size: 100% 3px;
}

.text_align_center {
    text-align: center;
}

.input {
    width: 200px;
}

.ml_10 {
    margin-left: 10px;
}

.mr_10 {
    margin-right: 10px;
}

.mr_t0 {
    margin-top: 10px;
}

.mr_b0 {
    margin-bottom: 10px;
}

.ml_20 {
    margin-left: 20px;
}

.mr_20 {
    margin-right: 20px;
}

.mr_20 {
    margin-top: 20px;
}

.mr_20 {
    margin-bottom: 20px;
}

.width_100 {
    width: 100% !important;
}

.bold {
    font-weight: bold;
}

.red {
    color: red;
}

.green {
    color: green;
}

.redBg {
    background-color: red;
}

.greenBg {
    background-color: green;
}

.flex {
    display: flex;
}

.column {
    flex-direction: column;

}

.justify_center {
    justify-content: center;
}

.justify_between {
    justify-content: space-between;

}

.align_center {
    align-items: center;

}

.description {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.opacity_0 {
    opacity: 0;
}

.margin_0 {
    margin: 0 !important;
}

.required::before {
    display: inline-block;
    margin-inline-end: 4px;
    color: #ff4d4f;
    font-size: 14px;
    font-family: SimSun, sans-serif;
    line-height: 1;
    content: "*";
}

//antd样式覆盖
//弹框title 剧中
.ant-modal-title {
    text-align: center;
}

//表格标题背景颜色
.ant-table-wrapper .ant-table-thead>tr>th,
.ant-table-wrapper .ant-table-thead>tr>td {
    background: #F7F9FF !important;
    color: #0D204C !important;
}

.ant-table-wrapper .ant-table-tbody>tr>td {
    color: rgba(13, 32, 76, 0.7) !important;
}

.nowrap {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.none {
    display: none;
}

.title_rate {
    font-size: 16px;
    font-weight: 700;
    color: #0D204C;
    text-indent: 36px;
    background: url("@/assets/image/rectangle.png") no-repeat;
    background-size: 4px 100%;

}

footer {
    color: rgba(13, 32, 76, 0.45)
}

.link_a {
    color: rgba(13, 32, 76, 0.45);

    &:hover {
        color: var(--color-primary);
    }
}

.base_bg_fff {
    background: #fff;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
    padding-top: 10px;
    margin-left: -20px;
    
}

.pico {
    i {
        width: 18px;
        height: 18px;
    }

    .i1 {
        background: url("@/assets/image/pico.png") repeat center center;
        background-size: 100% 100%
    }

    .i2 {
        background: url("@/assets/image/wifi.png") repeat center center;
        background-size: 100% 100%
    }

    .i3 {
        background: url("@/assets/image/cell.png") repeat center center;
        background-size: 100% 100%;
    }

}

//溢出隐藏
.overflow {
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}